﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OnlineManagement.Web
{
    public class OnlineHoggeryLog
    {
        /// <summary>
        /// System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.ToString()
        /// </summary>
        /// <param name="method"></param>
        /// <returns></returns>
        public static log4net.ILog GetLog(string method) {
            log4net.ILog log = log4net.LogManager.GetLogger(method);
            return log;
        }
    }
}